<template>
    <div>
<table>
    <tr>
        <td>名称</td>
        <td>
            <input type="text">
        </td>
    </tr>
    <tr>
        <td>数量</td>
        <td>
            <input type="text">
        </td>
    </tr>
    <tr>
        <td>单价</td>
        <td>
            <input type="text">
        </td>
    </tr>
    <tr>
        <td>名称类型</td>
        <td>
            <input type="text">
        </td>
    </tr>
    <tr>
        <td>时间</td>
        <td>
            <input type="date">
        </td>
    </tr>
    <tr>
        <td>
            <input type="button" value="添加" @click="denglu" >
        </td>
        <td></td>
    </tr>
</table>
    </div>
</template>

<script setup lang="ts">


const denglu=()=>{
    alert("添加成功")
}


</script>

<style scoped>

</style>